<p>network works!</p>

<p>{{resList | json}}</p>
<button (click)="getData()">请求数据</button>

<button (click)="postData()">post方法</button>